package cart.haiboinvest.com.haibocart.ui.activity.account;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;

import cart.haiboinvest.com.haibocart.R;

/**修改密码
 * Created by quan on 2016/4/14.
 */
public class ChangePwdActivity extends Activity {
    private Context mContext;
    private ImageView back;
    private Button confirm;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_change_password);
        mContext=this;
        findViews();
    }

    private void findViews() {
        back = (ImageView) findViewById(R.id.back);
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

        confirm= (Button) findViewById(R.id.btn_queren);
        confirm.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(mContext,HomeActivity.class);
                startActivity(intent);
                finish();
            }
        });
    }
}
